
package com.ruoyi.system.convert;

import com.ruoyi.common.core.domain.model.SysPostVo;
import com.ruoyi.system.domain.SysPost;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SysPostConvert {

    SysPostConvert INSTANCE = Mappers.getMapper(SysPostConvert.class);

    SysPost convert(SysPostVo bean);
    SysPostVo convert(SysPost domain);
    List<SysPostVo> convert(List<SysPost> domains);
}
